#include<stdio.h>

void Swap(int* a,int* b)
{
   int c = *a;
   *a=*b;
   *b=c;
   
}

int main()
{
    int a = 10;
    int b = 20;
    Swap(&a,&b);
    printf("a = %d b = %d\n",a,b);
    
    
    //指针定义
    //int*  p=NULL;  //指向0地址的指针：空指针
//     int a = 10;
//     int *p = &a;
//     printf("%ld\n  %p\n",sizeof(p),p);
//     *p = 20;
//     printf("%d\n",a);
//     return 0;
}